package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Optionparams;
import com.grad.why.studentsystem.domain.OptionparamsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OptionparamsMapper {
    int countByExample(OptionparamsExample example);

    int deleteByExample(OptionparamsExample example);

    int deleteByPrimaryKey(Integer paramid);

    int insert(Optionparams record);

    int insertSelective(Optionparams record);

    List<Optionparams> selectByExample(OptionparamsExample example);

    Optionparams selectByPrimaryKey(Integer paramid);

    int updateByExampleSelective(@Param("record") Optionparams record, @Param("example") OptionparamsExample example);

    int updateByExample(@Param("record") Optionparams record, @Param("example") OptionparamsExample example);

    int updateByPrimaryKeySelective(Optionparams record);

    int updateByPrimaryKey(Optionparams record);

    String getParamValueByParamName(@Param("imgRootPath") String imgRootPath);

    int updateThisWeek(@Param("thisweek") String thisweek);

    int updateRuntimeCount(@Param("size") String size);
}